# -*- coding: utf-8 -*-
from django.conf.urls import url
from django.contrib import admin
from .views import *
from . import views

urlpatterns = [
    url(r'admin/', admin.site.urls, name='admin'),
    url(r'^sku_api/$', sku_api, name='sku_api'),
    # url(r'^comment_api/$', comment_api,name = 'comment_api'),
    # url(r'^goodsInfo_api/$', goodsInfo_api,name = 'goodsInfo_api'),
    url(r'^competition_analysis_api/$', competition_analysis_api, name='competition_analysis_api'),
    url(r'^test_api/', test_api, name='test_api'),
    url(r'^qr_api/', qr_api, name='qr_api'),
    url(r'^taobaologin_api/', taobaologin_api, name='taobaologin_api'),
    # url(r'^limits_user_api/',limits_user_api,name = 'limits_user_api'),
    url(r'^login_api/', login_api, name='login_api'),
    url(r'^register_api/', register_api, name='register_api'),
    url(r'^update_api/', update_api, name='update_api'),
    url(r'^Category_composition_api/', Category_composition_api, name='Category_composition_api'),
    # url(r'^serviceIndicator_api/', serviceIndicator_api, name='serviceIndicator_api'),

    # url(r'^shop_flow_analysis_api/', shop_flow_analysis_api, name='shop_flow_analysis_api'),
    # url(r'^productItem_keyword_data_api/', productItem_keyword_data_api, name='productItem_keyword_data_api'),
    # url(r'^product_data_analysis_api/', product_data_analysis_api, name='product_data_analysis_api'),
    # url(r'^crawd_portrait_api/', crawd_portrait_api, name = 'crawd_portrait_api'),

    # url(r'^daily_operational_data_api/', daily_operational_data_api,name = 'daily_operational_data_api'),
    url(r'^product_analysis_api/', product_analysis_api, name='product_analysis_api'),
    url(r'^category_thesaurus_api/', category_thesaurus_api, name='category_thesaurus_api'),
    url(r'^hot_words_api/', hot_words_api, name='hot_words_api'),
    url(r'^geographic_api/', geographic_api, name='geographic_api'),
    url(r'^store_diagnosis_api/', store_diagnosis_api, name='store_diagnosis_api'),
    url(r'^daily_operational_data/', views.OeratingView.as_view()),
    url(r'^shop_flow_analysis/', views.TrafficView.as_view()),
    url(r'^product_data_analysis/', views.ItemAnalysisView.as_view()),
    url(r'^serviceIndicator/', views.ServiceIndicatorsView.as_view()),
    url(r'^obtain_goods_data/', views.BindingGoodsView.as_view()),
    url(r'^productItem_keyword_data/', views.ItemKeywordsView.as_view()),

    # url(r'^keywords_goods_data/', views.BDKeyGoodsVi.as_view()),
    url(r'^keywords_data/', views.KeywordsView.as_view()),
    url(r'^del_product_data/', views.DeleteItemDataView.as_view()),
    url(r'^published_bbs/', views.PublishedView.as_view()),
    url(r'^query_all_bbs/', views.QueryAllView.as_view()),
    url(r'^query_details_bbs/', views.DetailsBBSView.as_view()),
    url(r'^delete_bbs/', views.DeleteBBSView.as_view()),
    url(r'^change_bbs/', views.ChangeBBSView.as_view()),
    url(r'^give_like_bbs/', views.GiveLikeView.as_view()),
    url(r'^category_composition/', views.CategoryComposition.as_view()),
    url(r'^category_details/', views.CategoryDetails.as_view()),

    url(r'^admin_backstageManagement/1/', views.UserData.as_view()),
    url(r'^admin_backstageManagement/2/', views.NotPayment.as_view()),
    url(r'^admin_backstageManagement/3/', views.WillDueTo.as_view()),
    # url(r'^admin_backstageManagement/5/', views.NowMonth.as_view()),
    # url(r'^admin_backstageManagement/6/', views.NextMonth.as_view()),
    url(r'^admin_user_statistica/', views.UserStatisticalView.as_view()),

    url(r'^admin_backstageManagement/4/', views.DueTo.as_view()),
    url(r'^admin_select_vip/', views.SelectVip.as_view()),
    url(r'^admin_select_username/', views.SelectUserName.as_view()),
    url(r'^admin_unbundling/', views.Unbundling.as_view()),
    url(r'^admin_activation_vip/', views.ActivationVip.as_view()),
    url(r'^admin_delete_user/', views.DeleteUser.as_view()),
    url(r'^admin_update_qq/', views.UpdateUserQQ.as_view()),
    url(r'^admin_update_wx/', views.UpdateUserWX.as_view()),
    # 车图
    url(r'^chetu_api/', chetu_api, name='chetu_api'),

    # 人群画像
    url(r'^crowd_portrait/', views.CrowdPortrait.as_view()),
    url(r'^crowd_portrait_cat/', views.CrowdPorrtaitCat.as_view()),

    # 用户拓展信息
    url(r'^userExpand/', views.UserExpand.as_view()),
    url(r'^userExpandRepeat/', views.UserExpandRepeat.as_view()),

    # 查询
    url(r'^expandRepeatQuery/', views.ExpandRepeatQuery.as_view()),
    url(r'^admin_level_to/(\d)/', views.SelLevelDueToView.as_view()),
    url(r'^admin_due_to/(\d)/', views.RegisteredTimeView.as_view()),
]

# urlpatterns = [
#     url(r'admin/', admin.site.urls,name = 'admin'),
#     url(r'^sku_api/$', sku_api,name = 'sku_api'),
#     url(r'^comment_api/$', comment_api,name = 'comment_api'),
#     url(r'^goodsInfo_api/$', goodsInfo_api,name = 'goodsInfo_api'),
#     url(r'^competition_analysis_api/$', competition_analysis_api,name = 'competition_analysis_api'),
#     url(r'^test_api/',test_api,name = 'test_api'),
#     url(r'^qr_api/',qr_api,name = 'qr_api'),
#     url(r'^taobaologin_api/',taobaologin_api,name = 'taobaologin_api'),
#     url(r'^limits_user_api/',limits_user_api,name = 'limits_user_api'),
#     url(r'^login_api/',login_api,name = 'login_api'),
#     url(r'^register_api/',register_api,name = 'register_api'),
#     url(r'^update_api/',update_api,name = 'update_api'),
#     url(r'^Category_composition_api/',Category_composition_api,name = 'Category_composition_api'),
#     url(r'^serviceIndicator_api/', serviceIndicator_api, name='serviceIndicator_api'),

#     url(r'^shop_flow_analysis_api/', shop_flow_analysis_api, name='shop_flow_analysis_api'),
#     url(r'^productItem_keyword_data_api/', productItem_keyword_data_api, name='productItem_keyword_data_api'),
#     url(r'^product_data_analysis_api/', product_data_analysis_api, name='product_data_analysis_api'),
#     url(r'^daily_operational_data_api/', daily_operational_data_api, name='daily_operational_data_api'),
#     url(r'^product_analysis_api/', product_analysis_api, name = 'product_analysis_api'),
#     url(r'^crawd_portrait_api/', crawd_portrait_api, name = 'crawd_portrait_api'),
#     url(r'^daily_operational_data/', views.OeratingView.as_view()),

# ]
